#include <cellcsp.h>
#include <string>
#include <stdio.h>
#include <csp_debug.h>
#include <vector>

int main(){

	int i;

	char *iterations = "./tasks/many_iterations_task";
	
	CSPConfig conf;

	conf.add_csp_program(iterations ,"many_iterations_task");

	CellCSP_start(conf);

	printf("Running yield_test with file %s\n", iterations);                  

	CSPProcess slow_task("many_iterations_task");

	i = slow_task.Run();

	ASSERT( 42 == i );


	CellCSP_end();

	printf("many_iterations_task terminated\n");
	
	return 0;
}
